package com.hectopascal.goalance.service.Ipml;

import com.hectopascal.goalance.pojo.WorkContent;
import com.hectopascal.goalance.pojo.dto.WorkContentBack;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

@Service
public interface IWorkContentService {
    WorkContentBack workContentAdd(WorkContent workContent);

    List<WorkContentBack> workContentGet(Integer userId,String status, Integer departmentId);

    int workContentApprove(WorkContent workContent);

    String uploadsFile(MultipartFile file, Integer id) throws IOException;
}
